package com.gitee.huxing.course.core.annoation;

import java.lang.annotation.*;

/**
 * @Description: 数据源配置注解
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.core.annoation
 * @ClassName: DataSource
 * @Author: huxing
 * @DateTime: 2021-09-15 下午2:11
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSource {

    /** 数据源 **/
    DataSourceEnum value() default DataSourceEnum.MASTER;
}
